Skip to content

build(deps-dev): bump phpunit/phpunit from 11.5.55 to 13.1.0 in /tools/phpunit#2289

Closed
dependabot[bot] wants to merge 1 commit into1.xfrom
dependabot/composer/tools/phpunit/phpunit/phpunit-13.1.0
Closed

build(deps-dev): bump phpunit/phpunit from 11.5.55 to 13.1.0 in /tools/phpunit#2289
dependabot[bot] wants to merge 1 commit into1.xfrom
dependabot/composer/tools/phpunit/phpunit/phpunit-13.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps phpunit/phpunit from 11.5.55 to 13.1.0.

Release notes

Sourced from phpunit/phpunit's releases.

PHPUnit 13.1.0

Added

  • #6501: Include unexpected output in Open Test Reporting (OTR) XML logfile
  • #6517: includeInCodeCoverage attribute for <directory> and <file> children of <source>
  • #6523: Include #[Group] information in Open Test Reporting (OTR) XML logfile
  • #6524: Report issues in Open Test Reporting (OTR) XML logfile
  • #6526: Introduce #[DataProviderClosure] for static closures
  • #6530: Support for custom issue trigger resolvers that can be configured using <issueTriggerResolvers> in the XML configuration file
  • #6547: Support for %r...%r in EXPECTF section
  • Support for configuring HTML code coverage report options (colors, thresholds, custom CSS) in XML configuration file without requiring an outputDirectory attribute, allowing the output directory to be specified later with the --coverage-html CLI option
  • Support for configuring dark mode colors, progress bar colors, and breadcrumb colors for HTML code coverage reports in the XML configuration file

Changed

  • #6557: Improve failure description for StringMatchesFormatDescription constraint which is used by assertFileMatchesFormat(), assertFileMatchesFormatFile(), assertStringMatchesFormat(), assertStringMatchesFormatFile(), and EXPECTF sections of PHPT test files
  • The HTML code coverage report now uses a more colorblind-friendly blue/amber/orange palette by default
  • Extracted PHPUnit\Runner\Extension\Facade from a concrete class to an interface and introduced an internal ExtensionFacade implementation, so that extensions only depend on the Facade interface while PHPUnit internally uses the ExtensionFacade class that also provides query methods

Deprecated

  • #6515: Deprecate the --log-events-verbose-text <file> CLI option
  • #6537: Soft-deprecate id() and after() for mock object expectations

Fixed

  • #6025: FILE_EXTERNAL breaks __DIR__
  • #6351: No warning when the same test runner extension is configured more than once
  • #6433: Logic in TestSuiteLoader is brittle and causes "Class FooTest not found" even for valid tests in valid filenames
  • #6463: Process Isolation fails on non-serializable globals and quietly ignore closures

Learn how to install or update PHPUnit 13.1 in the documentation.

Keep up to date with PHPUnit:

PHPUnit 13.0.6

Changed

  • #4440: Improve error when configured code coverage file list is empty
  • #6549: Allow to stub both hooks of non-virtual properties

Fixed

  • #6529: Git "detached HEAD state" in Open Test Reporting (OTR) XML logger not handled properly
  • #6545: Stubbing a class with set property hook leaves property uninitialized by default

... (truncated)

Changelog

Sourced from phpunit/phpunit's changelog.

13.1.0 - 2026-04-03

Added

  • #6501: Include unexpected output in Open Test Reporting (OTR) XML logfile
  • #6517: includeInCodeCoverage attribute for <directory> and <file> children of <source>
  • #6523: Include #[Group] information in Open Test Reporting (OTR) XML logfile
  • #6524: Report issues in Open Test Reporting (OTR) XML logfile
  • #6526: Introduce #[DataProviderClosure] for static closures
  • #6530: Support for custom issue trigger resolvers that can be configured using <issueTriggerResolvers> in the XML configuration file
  • #6547: Support for %r...%r in EXPECTF section
  • Support for configuring HTML code coverage report options (colors, thresholds, custom CSS) in XML configuration file without requiring an outputDirectory attribute, allowing the output directory to be specified later with the --coverage-html CLI option
  • Support for configuring dark mode colors, progress bar colors, and breadcrumb colors for HTML code coverage reports in the XML configuration file

Changed

  • #6557: Improve failure description for StringMatchesFormatDescription constraint which is used by assertFileMatchesFormat(), assertFileMatchesFormatFile(), assertStringMatchesFormat(), assertStringMatchesFormatFile(), and EXPECTF sections of PHPT test files
  • The HTML code coverage report now uses a more colorblind-friendly blue/amber/orange palette by default
  • Extracted PHPUnit\Runner\Extension\Facade from a concrete class to an interface and introduced an internal ExtensionFacade implementation, so that extensions only depend on the Facade interface while PHPUnit internally uses the ExtensionFacade class that also provides query methods

Deprecated

  • #6515: Deprecate the --log-events-verbose-text <file> CLI option
  • #6537: Soft-deprecate id() and after() for mock object expectations

Fixed

  • #6025: FILE_EXTERNAL breaks __DIR__
  • #6351: No warning when the same test runner extension is configured more than once
  • #6433: Logic in TestSuiteLoader is brittle and causes "Class FooTest not found" even for valid tests in valid filenames
  • #6463: Process Isolation fails on non-serializable globals and quietly ignore closures
Commits

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Apr 6, 2026
@dependabot dependabot bot requested a review from norberttech as a code owner April 6, 2026 04:48
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 11.5.55 to 13.1.0.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/13.1.0/ChangeLog-13.1.md)
- [Commits](sebastianbergmann/phpunit@11.5.55...13.1.0)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 13.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/tools/phpunit/phpunit/phpunit-13.1.0 branch from 9c869f2 to 867caf2 Compare April 7, 2026 09:08
@norberttech norberttech closed this Apr 7, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 7, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/tools/phpunit/phpunit/phpunit-13.1.0 branch April 7, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant